/* components/custom-tab-bar.wxss */
.custom-tab-bar {
  height: 224rpx;
  width: 750rpx;
  box-sizing: border-box;
  position: fixed;
  z-index: 20000;
  bottom: 0;
  left: 0;
  right: 0;

  .tab-bar-bg {
    width: 750rpx;
    height: 100%;
    position: absolute;
    // top: 20rpx;
    // hide shiye
    top: -16rpx;
    right: 0;
    left: 0;
    z-index: 10;

    .tab-bar-icon {
      width: 750rpx;
      height: 241rpx;
    }
    .tab-bar-icon1 {
      width: 750rpx;
      height: 200rpx;
    }
  }

  .tab-bar-items {
    position: absolute;
    z-index: 1000;
    width: 100%;
    top: 40rpx;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    height: 100%;
    padding: 30rpx;

    .tab-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 104rpx;

      .tab-bar-icon {
        width: 48rpx;
        height: 48rpx;
        margin-bottom: 10rpx;
      }

      .name {
        color: #4e5969;
        font-size: 20rpx;
        line-height: 28rpx;
        font-family: "PingFang SC";

        &.active {
          // color: #2493F1;
          color: #3375f5;
        }
      }
    }

    .tab-item.tab-ai {
      position: relative;
      top: -68rpx;
      width: 104rpx;

      .tab-bar-icon {
        width: 104rpx;
        height: 104rpx;
      }

      .name {
        padding-top: 10rpx;
      }
    }
  }
}
